home *** CD-ROM | disk | FTP | other *** search
- Morten Bolstad digitized on 16-May-78 08:04:38:
- MB> Hello!
-
- MB> I have a little coding problem that i think most of you are able
- MB> to help me out with quite easy.
-
- Well, I never have used Procedures much, so this is just a guess...
-
- Let's imagine 'a' is your 'Movement' procedure.
-
- MB> a
- MB> Procedure a
- MB> b
- ^- delete this line
- when 'a' exits it should jump back to 'b'
- MB> endproc
-
- MB> procedure b
- MB> a
- MB> endproc
-
- AFAIK, Procedures are little programs, all by themselves. They can't
- call subroutines that aren't contained within the Procedure, which is
- why I don't use them. I use all Subroutines. But I think a Procedure
- can call another Procedure.
-
- MB> The reason i want it to be like one of these exampels is that
- MB> i'am gonna have
- MB> 6 procedures and then it takes up to much space and memory to
- MB> have the code in movment 6 times, when i dont need to have it
- MB> more than one time.
-
- Then you can have:
-
- Procedure c
- Paste Bob, b,x,y
- a
- Endproc
-
- Procedure d
- Locate x,y:Print
- a
- Endproc
-
- Procedure e
- Do Something Else
- a
- Endproc
-
- etc...
-
-
- MB> Oki, please help me with this prob!!!
-
- Hope this helps :)
-
- MB> Morten Bolstad.
-
-
- Greets,
- - Rand
- --
- ______ ________________________ ////
- | _ \ _____ ___ __ _____ mailto:rand@netwave.net ////
- | [_} )(___ \ ( \ | ( _ \ http://www.netwave.net/members/rand
- | _ ( / __ \ | \| | |_} ) ////
- |__| \___)(_______(__|\____(_____/ \\\\////
-
-
- {{:-(*) <-- Klingon eating a Tribble.
-
-
-